<!DOCTYPE html >
<html>
	<head>
		<meta charset="utf-8" />
		<title>客户端下载</title>
		<script>
			window.onload=function(){
				var ua;
				var s=document.getElementById("ios");
				var android=document.getElementById("android");
				android.setAttribute('href',"DataView.apk");
				var PC=document.getElementById("PC");
				PC.setAttribute('href',"setup_std_client.exe");
				ua = navigator.userAgent.toLowerCase();
				if(ua.search(/iphone/ig)>-1  || (ua.search(/ipad/ig)>-1)){
					s.setAttribute('href',"itms-services:///?action=download-manifest&url=https://git.oschina.net/mdata_986/DataView/raw/master/DataView_iphone.plist");
				}else{                    
					s.setAttribute("href","");
				}
				
				
			}
		</script>
	</head>
	<body>
		<foot>
			<div style="text-align: center;border: 0px;">
				<a id="ios"  style="border: 0px;">
					<div style="display: inline-block;height: 100%;width: 30%;border: 0px;" > 
						<img src="iphone.png" style="height: 80%;width: 80%;border: 0px;" />
						<p>ios客户端下载</p>
					</div>
				</a>
				<a id="android"  >
					<div style="display: inline-block;height: 100%;width: 30%;border: 0px;"> 
						<img src="meizu.png" style="height: 80%;width: 80%;border: 0px;" />
						<p>android客户端下载</p>
					</div>
				</a>
				<a id="PC"    >
					<div style="display: inline-block;height: 100%;width: 30%;border: 0px;"> 
						<img src="PC.png" style="height: 80%;width: 80%;border: 0px;" />
						<p>Windows客户端下载</p>
					</div>
				</a>
			</div>
		</foot>

	</body>

</html>